package com.huifer.wgx.repository;

import com.huifer.wgx.model.DetectionPointEntity;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * <p>Title : DetectionPointEntityRepository </p>
 * <p>Description : </p>
 *
 * @author huifer
 * @date 2019-03-15
 */
public interface DetectionPointEntityRepository extends JpaRepository<DetectionPointEntity,Long> ,
        JpaSpecificationExecutor<DetectionPointEntity> {

    /**
     * 根据校验人员id查询
     * @param personnelId 校验人员id
     * @return 校验结果列表
     */
    List<DetectionPointEntity> findAllByPersonnelId(Long personnelId);
}
